﻿<Calendar OnPanelChange="OnPanelChange" />

@code
{
    private void OnPanelChange(DateTime value, DatePickerType type)
    {
        Console.WriteLine($"{value.ToString("yyyy-MM-dd")} {type}");
    }
}